package com.situ.scientific.service;

import com.situ.scientific.pojo.Auth;
import com.situ.scientific.pojo.query.AuthQuery;
import com.situ.scientific.util.PageRusult;

import java.util.List;

public interface IAuthService {
    void deleteAll(String[] ids);

    Auth selectById(String id);

    void updateStatus(String id, int i);

    void add(Auth auth);

    int deleteById(int i);

    PageRusult selectByPage(AuthQuery authQuery);

    List<Auth> selectByRole(Integer role);
    void update(Auth auth);
}
